<?php if ($this->list) { ?>
<?php foreach ($this->list AS $key => $val) { ?>
<div class="m_gzTopic i_prl">
	<p class ="focus_list_gz_topic"><a class="i_glotopic user_msg" data-message="&uid=<?php echo $val['topic_id']; ?>&card=topic" href="topic/<?php echo $val['url_token']; ?>"><?php echo $val['topic_title']; ?></a></p>
	<?php if ($val['action_list']) { ?>
		<?php foreach ($val['action_list'] AS $action_key => $action_val) { ?>
		<p class="tx"><em><?php echo date_friendly($action_val['add_time']); ?></em><a href="question/<?php echo $action_val['question_id']; ?>#reply<?php echo $action_val['answer_count']; ?>"><?php echo $action_val['question_content']; ?></a></p>
		<?php } ?>
		<p class="tx"><a href="topic/<?php echo $val['url_token']; ?>" class="i_cl_02">相关详细内容&nbsp;&raquo;</a></p>
	<?php } ?>
	
	<a class="u_topicHead i_pas user_msg" data-message="&uid=<?php echo $val['topic_id']; ?>&card=topic" href="topic/<?php echo $val['url_token']; ?>"><img title="<?php echo $val['topic_title']; ?>" alt="<?php echo $val['topic_title']; ?>" class="i_radiu5" src="<?php echo get_topic_pic_url('max', $val['topic_pic']); ?>"></a>
</div>
<?php } ?>
<?php } ?>